package io.nanfeng.oscbot.property

import org.springframework.boot.context.properties.ConfigurationProperties
import org.springframework.boot.context.properties.ConstructorBinding
import org.springframework.boot.context.properties.EnableConfigurationProperties
import org.springframework.stereotype.Component

@ConfigurationProperties("io.nanfeng.bot")
data class BotProperty @ConstructorBinding constructor(val botName:String, val botToken:String)